import os

from dotenv import load_dotenv

load_dotenv('env.ini', encoding='utf-8')

MQTT_SERVER = os.getenv('mqtt_host')
MQTT_NAME = os.getenv('mqtt_name')
# MQTT服务器端口
MQTT_PORT = 1883
# MQTT客户端ID
MQTT_CLIENT_ID = os.getenv('mqtt_client')
MQTT_PUBLISH_CLIENT_ID = os.getenv('mqtt_pub_client')
MQTT_PASSWORD = os.getenv('mqtt_password')
MQTT_USERNAME = os.getenv('mqtt_username')
